package com.gxan.service;

import com.gxan.common.JsonResult;
import com.gxan.common.R;
import com.gxan.pojo.Recruitment;

import java.util.Date;

public interface RecruitmentService {
    /**
     * 添加职务发布
     * @param recruitment
     * @return
     */
    public R AddRecruitment(Recruitment recruitment);

    /**
     * 查询所有职位发布信息 和按职位名称||职位分类||登记日期-截止日期查询说有职位发布
     * @param currentPage
     * @param pageSize
     * @param recruitment
     * @return
     */
    public JsonResult queryRecruitmentList(Integer currentPage, Integer pageSize, Recruitment recruitment);

    /**
     * 删除员工信息
     * @param ids
     * @return
     */
    public R delRecruitmentById(String[] ids);

    /**
     * 更新职位发布信息
     * @param recruitment
     * @return
     */
    public R updateRecruitment(Recruitment recruitment);
}
